package com.zt.chatgpt.config.ChatGPTSDK;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author: zt
 * @Description: 读取配置文件信息
 * @create: 2024-05-17 21:29
 */

@Data
@ConfigurationProperties(prefix = "chatgpt.sdk.config", ignoreInvalidFields = true)
public class ChatGPTSDKConfigProperties {

    /**
     * 转发地址
     */
    private String apiHost;

    /**
     * 请求apikey
     */
    private String apiSecretKey;

    /**
     * 鉴权token
     */
    private String authToken;
}
